import UIGoods from "./UIGoods.js"

export default class UIData {
  constructor(goods) {
    let uiGoods = []
    for(let i=0; i<goods.length; i++) {
      let g= new UIGoods(goods[i])
      uiGoods.push(g)
    }
    this.uiGoods = uiGoods

  }
}